package com.xuce.nzshopemailserver.service.impl;

import com.xuce.nzshopemailserver.mapper.IEmailMapper;
import com.xuce.nzshopemailserver.service.IEmailService;
import com.xuce.pojo.TUser;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 徐策
 * @date 2020/3/16 16:28
 */
@Service
public class IEmailServiceImpl implements IEmailService {
    @Resource
    IEmailMapper iEmailMapper;

    @Override
    public int activeByEmail(TUser tUser) {
       return iEmailMapper.activeByEmail(tUser);
    }
}
